package com.yiboshi.rehrs.domain.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yiboshi.rehrs.domain.entity.InviteRecord;
import com.yiboshi.rehrs.domain.entity.SmZhongUser;
import com.yiboshi.rehrs.domain.entity.ZhongUser;
import com.yiboshi.rehrs.domain.service.AperBaseService;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author local
 * @since 2025-06-12
 */
public interface IInviteRecordService extends IService<InviteRecord>,AperBaseService<InviteRecord> {
    LocalDateTime updateInviteRecord(String card, ZhongUser sessionZhongUser, ZhongUser inviteUser);

    List<InviteRecord> listOriginAccount(String account);

    int exchange(SmZhongUser smUserInfo, Integer unrealizedNum);
}
